package dao;

import java.util.List;

import pojo.Offer;
import pojo.Product;

public interface OfferDAO {
	public List<Offer> getListOffer();
	public List<Offer> getListOffer(int offset, int num);
	public List<Offer> getListBanner(int offset, int num);
	
	public Offer getOfferFromId(int id);
	public boolean deleteOffer(Offer offer);
	public boolean addOffer(Offer offer, boolean available);
	public boolean updateOffer(Offer offer, boolean available);
}
